﻿import clr

def cameraUpdate(p1, p2, p3):
    p2.SetCameraPosition(p1.Position.X + (1280 / 2), p1.Position.Y + (720 / 2))
    return True

def loader_function(p1, p2, p3):
    if p1.RenderImage != None:
        p1.Properties["LoadedImage"] = p1.RenderImage
        p1.RenderImage = None
    return True